﻿<!DOCTYPE html>
<html>
<head id="jibach">
    <title>@ViewBag.Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    <link href="@Url.Content("~/content/reset.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/content/pesssite.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/content/table_btn.css")" rel="stylesheet" type="text/css" />


    <script>
        var browerName = navigator.userAgent.toLowerCase();
        var jsLink = document.createElement("link");
        if (!(/msie/i.test(browerName))) {
            jsLink.rel = "stylesheet";
            jsLink.type = "text/css";
            jsLink.href = "@Url.Content("~/content/pesssite_mobile.css")";
            document.getElementById("jibach").appendChild(jsLink);
        }
    </script>

    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/jquery")

    
    @RenderSection("Styles", false)
    @RenderSection("JavaScript",false)

</head>
<body id="p-index">
    <div id="g-hd" class=f-usn">
        <div class="g-in">
            <h2>上海市教委教研室评选平台</h2>
            <div id="m-nv" class="f-usn">
                <ul>
                    <li>@Html.ActionLink("活动","Index","Activity",null,new {Class="selected"})@*<a href="/Activity" class="selected">活动</a></li>*@
                    @*<li><a  href="/">通知</a></li>*@
                    <li><a href="/">公示</a></li>
                    <li>
                        @* @if(Membership.GetUser()!=null) //Commented out
                    {
                        @Html.ActionLink("帮助","Download","Home",new {filename="help.zip"},null)
                    }*@
                    </li>
                    <li>
                    </li>
                </ul>
            </div>
            <div id="m-lg" class="f-usn">
                <p>
                    @if (Roles.IsUserInRole("Admin"))
                    {
                        @Html.ActionLink("系统设定", "SystemSettings", "Home")
                    }
                </p>
                <p>@Html.Partial("_LogOnPartial")</p>
            </div>
        </div>
   </div>
    <div id="g-nv" class="f-usn">
        <div id="m-subnv" class="g-in">
             @Html.Partial("_ActivityNavPartial", HttpContext.Current.Session["ActivityID"] == null ? -1 : (int)HttpContext.Current.Session["ActivityID"])
        </div>
    </div>
    <div id="g-bd">
        <div class="g-in">
            @RenderBody()
        </div>
    </div>
    <div id="g-ft">
        <div class="g-in">
            <p>版权所有 ©2014&#8195;上海市教育委员会 教学研究室&#8195;沪ICP备</p>
        </div>
    </div>
    <!--[if lt IE 8]>
        <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
    <![endif]-->
   <!--[if lt IE 7]>
        <link href="@Url.Content("~/content/cssie6.css")" rel="stylesheet" type="text/css"/>
    <![endif]-->

    @*    @Scripts.Render("~/bundles/jquery")
        @RenderSection("scripts", required: false)*@
    <noscript>
        <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css" />
        <link href="@Url.Content("~/content/activitie_noscript.css")" rel="stylesheet" type="text/css" />
    </noscript>


</body>
</html>
